<?php 
	/**
	* 验证码类
	*/
	class Code 
	{	public $configs=array(
		'lenght'=> 4,
		'wdith'=>200,
		'height'=>100,
		'line'=>0,
		'str'=>"1234567890zxcvbnmasdfghjklpoiuytrewq"
		);
		

		function __construct($configs=array())
		{
			$this->configs=array_merge($this->configs,$configs);
			$this->show();
		}

		public function show()
		{
			var_dump($this->configs);
		}

	}




 ?>